/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author Bryan
 */
public class OrderLine {
    private int orderLineId, orderId, productId, amount;
    private String productName;
    
    public OrderLine() {
        this(-1,-1,-1,"",-1);
    }
    
    public OrderLine(int orderLineId, int orderId, int productId, String productName, int amount) {
        this.orderLineId = orderLineId;
        this.orderId = orderId;
        this.productId = productId;
        this.productName = productName;
        this.amount = amount;
    }

    /**
     * @return the orderLineId
     */
    public int getOrderLineId() {
        return orderLineId;
    }

    /**
     * @param orderLineId the orderLineId to set
     */
    public void setOrderLineId(int orderLineId) {
        this.orderLineId = orderLineId;
    }

    /**
     * @return the orderId
     */
    public int getOrderId() {
        return orderId;
    }

    /**
     * @param orderId the orderId to set
     */
    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    /**
     * @return the productId
     */
    public int getProductId() {
        return productId;
    }

    /**
     * @param productId the productId to set
     */
    public void setProductId(int productId) {
        this.productId = productId;
    }

    /**
     * @return the amount
     */
    public int getAmount() {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(int amount) {
        this.amount = amount;
    }

    /**
     * @return the productName
     */
    public String getProductName() {
        return productName;
    }

    /**
     * @param productName the productName to set
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }
}
